﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace ERP.WH.Models.Entity;

[Table("wh_storage_location")]
public partial class WhStorageLocation
{
    [Key]
    public long LocationId { get; set; }

    public long RackId { get; set; }

    public string LocationCode { get; set; } = null!;

    public int? RowNum { get; set; }

    public int? ColumnNum { get; set; }

    public int? LayerNum { get; set; }

    public decimal? MaxVolume { get; set; }

    public decimal? MaxWeight { get; set; }

    public decimal? CurrentVolume { get; set; }

    public decimal? CurrentWeight { get; set; }

    /// <summary>
    /// 1-可用, 2-占用, 3-维修中
    /// </summary>
    public sbyte? Status { get; set; }

    public DateTime? CreatedAt { get; set; }

    public DateTime? UpdatedAt { get; set; }

    public sbyte? IsDelete { get; set; }
}
